package com.ziyun.erp.modules.purchase.dao;

import com.ziyun.erp.modules.purchase.entity.StorePurchaseApplyDetailEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ziyun.erp.modules.purchase.entity.StorePurchaseApplyEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 门店采购入库明细表
 * 
 * @author guizhao
 * @email 
 * @date 2018-09-26 13:28:47
 */
public interface StorePurchaseApplyDetailDao extends BaseMapper<StorePurchaseApplyDetailEntity> {

    void saveBatch(@Param("list") List<StorePurchaseApplyDetailEntity> list, @Param("storePurchaseApplyEntity") StorePurchaseApplyEntity storePurchaseApplyEntity);

    void updateByMap(@Param("map") Map<String,Object> map, @Param("id")Integer id);


    List<StorePurchaseApplyDetailEntity> selectStorePurchaseApply(@Param("applyId") Integer applyId);
}
